/* General Styles */
body {
  font-family: "Arial", sans-serif;
  background: #f8f9fa;
  color: #333;
  padding-top: 70px; /* Adjust according to navbar height */
  --main-color: #4caf50;
}

/* Custom Styles for NavBar */
.navbar-brand img {
  height: 75px; /* Increase logo height */
  width: auto; /* Maintain aspect ratio */
  transition: height 0.3s; /* Smooth transition */
}

.navbar {
  background: linear-gradient(135deg, #4caf50, #1e88e5);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add shadow */
  padding: 0.5rem 1rem; /* Adjust navbar padding */
}

.navbar-nav .nav-link {
  color: #fff; /* Link color */
  font-weight: 500; /* Medium font weight */
  margin-left: 20px; /* Space between links */
}

.navbar-nav .nav-link:hover {
  color: #ff9900; /* Hover color */
}

.navbar-toggler {
  border: none; /* Remove border */
}

.navbar-toggler:focus {
  box-shadow: none; /* Remove focus outline */
}

/* Ensure navbar height remains consistent */
.navbar-brand {
  display: flex;
  align-items: center;
  height: 60px; /* Match logo height */
}

/* End NavBar */

/* Hero Section */
.hero {
  position: relative;
  height: 50vh;
  background: url("../Images/how-to-start-a-new-plastic-manufacturing-company.jpg")
    no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.hero .content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3rem;
  font-weight: bold;
}

.hero p {
  font-size: 1.2rem;
  margin-top: 10px;
}

/* Products Section */
.products-section {
  padding: 80px 0;
  background: #fff;
}

.row {
  display: flex;
  justify-content: space-around;
}

.products-section h2 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 40px;
  text-align: center;
  color: var(--main-color);
}

/* Product Cards */
.product-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
  height: 100%; /* Ensures all cards have the same height */
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-card .card-body {
  padding: 20px;
  flex-grow: 1; /* Makes the content expand equally */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-card h3 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
}

.product-card ul {
  list-style: none;
  padding: 0;
}

.product-card ul li {
  font-size: 16px;
  color: #555;
  margin-bottom: 10px;
}

.product-card ul li i {
  color: var(--main-color);
  margin-right: 10px;
}

.download-link {
  display: flex;
margin-top: 20px;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s;
}

/* Footer Styling */
.footer {
  background: linear-gradient(135deg, #4caf50, #1e88e5);
  color: #f8f9fa;
}

.footer-logo {
  max-width: 200px;
}

.footer-statement {
  font-size: 14px;
  color: #ddd;
  margin-top: 10px;
}

.footer h5 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}

.footer ul {
  list-style-type: none;
  padding: 40px 0 0;
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
  font-size: 20px;
}

.footer ul li {
  margin-bottom: 8px;
}

.footer ul li a {
  color: #f8f9fa;
  text-decoration: none;
}

.footer ul li a:hover {
  color: #333 !important;
}

.footer .social-icons {
  padding-top: 40px !important;
}

.footer .social-icons a {
  text-decoration: none;
  color: #f8f9fa;
  font-size: 20px;
}

.footer .social-icons a:hover {
  color: #333 !important;
}

.footer .text-center {
  margin-top: 20px;
  font-size: 14px;
}

/* download btn style */
.button {
  --width: 200px; /* Increased width to fit the text */
  --height: 50px; /* Increased height for better visibility */
  --tooltip-height: 35px;
  --tooltip-width: 90px;
  --gap-between-tooltip-to-button: 18px;
  --button-color: var(--main-color);
  --tooltip-color: #fff;
  width: var(--width);
  height: var(--height);
  background: var(--button-color);
  position: relative;
  text-align: center;
  border-radius: 0.45em;
  font-family: "Arial";
  transition: background 0.3s;
  margin-left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.button::before {
  position: absolute;
  content: attr(data-tooltip);
  width: var(--tooltip-width);
  height: var(--tooltip-height);
  background-color: var(--tooltip-color);
  font-size: 0.9rem;
  color: #111;
  border-radius: 0.25em;
  line-height: var(--tooltip-height);
  bottom: calc(var(--height) + var(--gap-between-tooltip-to-button) + 10px);
  left: calc(50% - var(--tooltip-width) / 2);
}

.button::after {
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  border: 10px solid transparent;
  border-top-color: var(--tooltip-color);
  left: calc(50% - 10px);
  bottom: calc(100% + var(--gap-between-tooltip-to-button) - 10px);
}

.button::after,
.button::before {
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s;
}

.button-wrapper,
.text,
.icon {
  overflow: hidden;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  color: #fff;
}

.text {
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem; /* Adjust font size if needed */
}

.text,
.icon {
  transition: top 0.5s;
}

.icon {
  color: #fff;
  top: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon svg {
  width: 24px;
  height: 24px;
}

.button:hover {
  background: #6c18ff;
}

.button:hover .text {
  top: -100%;
}

.button:hover .icon {
  top: 0;
}

.button:hover:before,
.button:hover:after {
  opacity: 1;
  visibility: visible;
}

.button:hover:after {
  bottom: calc(var(--height) + var(--gap-between-tooltip-to-button) - 20px);
}

.button:hover:before {
  bottom: calc(var(--height) + var(--gap-between-tooltip-to-button));
}